package com.fantasy.string;

public class TestSpilt {

	public static void main(String[] args) {
		String string="gssasg,,,,sdsa,,,,,";
		String[] strings=string.split(",");
		for (String string2 : strings) {
			
			System.out.println(string2.equals(""));
		}
		System.out.println(strings.length);
		String string1="gssasg";
		String[] strings1=string1.split(",");
		System.out.println(strings1.length+strings1[0]);
	}

}
